import {createRoot} from 'react-dom/client'
import './index.css'
import store from "./store/index.jsx";
import {Provider} from "react-redux"
import {RouterProvider} from "react-router-dom";
import router from "./router/index.jsx";
import {ConfigProvider} from "antd";

createRoot(document.getElementById('root')).render(
    <ConfigProvider

        theme={{
            components: {
                Pagination: {
                    itemActiveBg:'#e3c0c0',
                    itemBg:'#69869f',
                    itemSize:42
                },
                Table: {
                    cellFontSize:17,
                    borderColor:'#deeaf7',
                    headerColor:'#454aa8',
                    rowSelectedBg:'#69869f',

                },
                Descriptions: {
                    labelColor:'#454aa8',
                    contentColor:'#424bb4',
                    borderColor:'#424bb4',
                    fontSize:20
                },
                Form: {
                    labelColor:'#010215',
                    fontSize:20,
                    labelFontSize:20
                },
                Input: {
                    inputFontSize:15,
                    hoverBorderColor:'#d95e5e',
                },

            },
            token: {
               fontsize:26,
            }
        }}
    >


        <Provider store={store}>

            <RouterProvider router={router}/>

        </Provider>

    </ConfigProvider>



)
